package com.loginer;

import com.loginer.config.JwtUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.loginer.dao")
@FeignClient
public class LoginerApplication {
    public static void main(String[] args) {
        System.out.println("DSFSDSAFSD");
        SpringApplication.run(LoginerApplication.class);
    }

    @Bean
    JwtUtil jwtUtil(){
        return new JwtUtil();
    }
}
